package com.example.gokchinesefoodmappcdev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品规格值(GoodAttrVal)实体类
 *
 * @author makejava
 * @since 2022-11-27 15:48:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_attr_val")
public class GoodAttrVal implements Serializable {
    private static final long serialVersionUID = -99376344770202385L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 规格名id
     */
    private Integer attrKeyId;
    /**
     * 商品id
     */
    private Integer goodId;
    /**
     * 商品规格编码
     */
    private String goodSpeCode;
    /**
     * 规格值
     */
    private String attrValue;
    /**
     * 排序标志
     */
    private Integer sort;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAttrKeyId() {
        return attrKeyId;
    }

    public void setAttrKeyId(Integer attrKeyId) {
        this.attrKeyId = attrKeyId;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodSpeCode() {
        return goodSpeCode;
    }

    public void setGoodSpeCode(String goodSpeCode) {
        this.goodSpeCode = goodSpeCode;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}

